package org.comple.erp.pojo.finance;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Verification1 implements Serializable {
    private String id;
    private String write_off_id;
    private String write_off_code;
    /**
     * 关联源单单据id（销售/采购）
     */
    private String related_id;
    /**
     * 源单编号（销售/采购）
     */
    private String source_code;
    /**
     * 业务类别：收款，付款
     */
    private String bussiness_type;
    /**
     * 单据金额
     */
    private BigDecimal amount;
    /**
     * 本次核销金额
     */
    private BigDecimal current_written_off_amount;
    /**
     * 未核销金额
     */
    private BigDecimal written_off_amount;
    /**
     * 源单是否为退款单
     */
    private Integer isReturn;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date create_time;
    private int isdel;
    private String company_code;

    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRelated_id() {
        return related_id;
    }

    public void setRelated_id(String related_id) {
        this.related_id = related_id;
    }

    public String getSource_code() {
        return source_code;
    }

    public void setSource_code(String source_code) {
        this.source_code = source_code;
    }

    public String getBussiness_type() {
        return bussiness_type;
    }

    public void setBussiness_type(String bussiness_type) {
        this.bussiness_type = bussiness_type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCurrent_written_off_amount() {
        return current_written_off_amount;
    }

    public void setCurrent_written_off_amount(BigDecimal current_written_off_amount) {
        this.current_written_off_amount = current_written_off_amount;
    }

    public BigDecimal getWritten_off_amount() {
        return written_off_amount;
    }

    public void setWritten_off_amount(BigDecimal written_off_amount) {
        this.written_off_amount = written_off_amount;
    }

    public Integer getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn) {
        this.isReturn = isReturn;
    }
    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public String getWrite_off_id() {
        return write_off_id;
    }

    public void setWrite_off_id(String write_off_id) {
        this.write_off_id = write_off_id;
    }
    public String getWrite_off_code() {
        return write_off_code;
    }
    public void setWrite_off_code(String write_off_code) {
        this.write_off_code = write_off_code;
    }
}
